/*
 * Student.cpp
 *
 *  Created on: Nov 14, 2012
 *      Author: naduvec
 */
#include "../include/Student.h"

		void Student::beginSemester()
		{
			if(semester_succeed)
			{
				semester++;
			}
			semester_succeed=true;
		}

		bool Student::treatGrade(Course &c)
		{
			int grade=rand()%101;
			if(grade>=c.getMinimum)
				return true;
			else
				return false;
		}


